package com.clickpaas.materialsprocurement.service.Impl;

import com.clickpaas.materialsprocurement.dao.StockInOrderDao;
import com.clickpaas.materialsprocurement.entity.StockInOrderEntity;
import com.clickpaas.materialsprocurement.service.StockInOrderService;
import org.springframework.stereotype.Repository;

import javax.annotation.Resource;

@Repository
public class StockInOrderServiceImpl implements StockInOrderService {
    @Resource
    private StockInOrderDao stockInOrderDao;
    /**
     * 入库数据写表
     *
     * @param stockInOrderEntity
     * @return
     */
    @Override
    public boolean insertStockInOrderInfo(StockInOrderEntity stockInOrderEntity) {
        if (null == stockInOrderEntity)return false;
        return stockInOrderDao.insertStockInOrderInfo(stockInOrderEntity);
    }
}
